package com.yuanfeng.commoms.vo.activity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class AppSeckillGoodsQueryResultVO {

	/**
	 * 限时秒杀价格
	 */
	private BigDecimal seckillPrice;
	/**
	 * 开始时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date goodsStartTime;
	/**
	 * 结束时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date goodsEndTime;
	/**
	 * 剩余时间
	 */
	private Long overplusTime;

	private Integer goodsLowerLimit;

	private Integer goodsUpperLimit;
	/**
	 * 秒杀库存
	 */
	private Integer seckillNum;
	/**
	 * 秒杀总库存
	 */
	private Integer seckillNums;

	private Integer seckillGoodsState;

	private String seckillTitle;

	private Integer seckillGoodsId;

	private Integer commonId;

	private String goodsName;// 商品名称

	private BigDecimal goodsPrice;// 商品价格


	/**
	 * 商品图片
	 */
	private String goodsImage;

	private String goodsSpec;//规格名
	private String specValueName;//规格名

	private Integer seckillId;// 秒杀id


	private Integer goodsStock;//商品库存

	private String commonName;
	private Integer commonIsXian;//是否参加了活动

	private Integer goodsId;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date startDateTime;//开始时间
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date endDateTime;//结束时间

	private Integer shopId;







}
